<?php

namespace AppBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * P2pCgData
 *
 * @ORM\Table(name="p2p_cg_data")
 * @ORM\Entity
 */
class P2pCgData
{
    /**
     * @var string
     *
     * @ORM\Column(name="cd_transcode", type="string", length=10, nullable=false)
     */
    private $cdTranscode;

    /**
     * @var string
     *
     * @ORM\Column(name="cd_customerflow", type="string", length=11, nullable=false)
     */
    private $cdCustomerflow;

    /**
     * @var boolean
     *
     * @ORM\Column(name="cd_ask_channel", type="boolean", nullable=false)
     */
    private $cdAskChannel = '1';

    /**
     * @var boolean
     *
     * @ORM\Column(name="cd_ask_way", type="boolean", nullable=false)
     */
    private $cdAskWay = '1';

    /**
     * @var integer
     *
     * @ORM\Column(name="cd_ask_time", type="integer", nullable=false)
     */
    private $cdAskTime = '0';

    /**
     * @var string
     *
     * @ORM\Column(name="cd_ask_data", type="text", length=65535, nullable=false)
     */
    private $cdAskData;

    /**
     * @var integer
     *
     * @ORM\Column(name="cd_anser_time", type="integer", nullable=false)
     */
    private $cdAnserTime = '0';

    /**
     * @var string
     *
     * @ORM\Column(name="cd_anser_data", type="text", length=65535, nullable=false)
     */
    private $cdAnserData;

    /**
     * @var boolean
     *
     * @ORM\Column(name="cd_status", type="boolean", nullable=false)
     */
    private $cdStatus = '0';

    /**
     * @var integer
     *
     * @ORM\Column(name="cd_id", type="integer")
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="IDENTITY")
     */
    private $cdId;



    /**
     * Set cdTranscode
     *
     * @param string $cdTranscode
     *
     * @return P2pCgData
     */
    public function setCdTranscode($cdTranscode)
    {
        $this->cdTranscode = $cdTranscode;

        return $this;
    }

    /**
     * Get cdTranscode
     *
     * @return string
     */
    public function getCdTranscode()
    {
        return $this->cdTranscode;
    }

    /**
     * Set cdCustomerflow
     *
     * @param string $cdCustomerflow
     *
     * @return P2pCgData
     */
    public function setCdCustomerflow($cdCustomerflow)
    {
        $this->cdCustomerflow = $cdCustomerflow;

        return $this;
    }

    /**
     * Get cdCustomerflow
     *
     * @return string
     */
    public function getCdCustomerflow()
    {
        return $this->cdCustomerflow;
    }

    /**
     * Set cdAskChannel
     *
     * @param boolean $cdAskChannel
     *
     * @return P2pCgData
     */
    public function setCdAskChannel($cdAskChannel)
    {
        $this->cdAskChannel = $cdAskChannel;

        return $this;
    }

    /**
     * Get cdAskChannel
     *
     * @return boolean
     */
    public function getCdAskChannel()
    {
        return $this->cdAskChannel;
    }

    /**
     * Set cdAskWay
     *
     * @param boolean $cdAskWay
     *
     * @return P2pCgData
     */
    public function setCdAskWay($cdAskWay)
    {
        $this->cdAskWay = $cdAskWay;

        return $this;
    }

    /**
     * Get cdAskWay
     *
     * @return boolean
     */
    public function getCdAskWay()
    {
        return $this->cdAskWay;
    }

    /**
     * Set cdAskTime
     *
     * @param integer $cdAskTime
     *
     * @return P2pCgData
     */
    public function setCdAskTime($cdAskTime)
    {
        $this->cdAskTime = $cdAskTime;

        return $this;
    }

    /**
     * Get cdAskTime
     *
     * @return integer
     */
    public function getCdAskTime()
    {
        return $this->cdAskTime;
    }

    /**
     * Set cdAskData
     *
     * @param string $cdAskData
     *
     * @return P2pCgData
     */
    public function setCdAskData($cdAskData)
    {
        $this->cdAskData = $cdAskData;

        return $this;
    }

    /**
     * Get cdAskData
     *
     * @return string
     */
    public function getCdAskData()
    {
        return $this->cdAskData;
    }

    /**
     * Set cdAnserTime
     *
     * @param integer $cdAnserTime
     *
     * @return P2pCgData
     */
    public function setCdAnserTime($cdAnserTime)
    {
        $this->cdAnserTime = $cdAnserTime;

        return $this;
    }

    /**
     * Get cdAnserTime
     *
     * @return integer
     */
    public function getCdAnserTime()
    {
        return $this->cdAnserTime;
    }

    /**
     * Set cdAnserData
     *
     * @param string $cdAnserData
     *
     * @return P2pCgData
     */
    public function setCdAnserData($cdAnserData)
    {
        $this->cdAnserData = $cdAnserData;

        return $this;
    }

    /**
     * Get cdAnserData
     *
     * @return string
     */
    public function getCdAnserData()
    {
        return $this->cdAnserData;
    }

    /**
     * Set cdStatus
     *
     * @param boolean $cdStatus
     *
     * @return P2pCgData
     */
    public function setCdStatus($cdStatus)
    {
        $this->cdStatus = $cdStatus;

        return $this;
    }

    /**
     * Get cdStatus
     *
     * @return boolean
     */
    public function getCdStatus()
    {
        return $this->cdStatus;
    }

    /**
     * Get cdId
     *
     * @return integer
     */
    public function getCdId()
    {
        return $this->cdId;
    }
}
